Skip to content

jsops: migrate to ESM from CJM#228

Merged
neSpecc merged 3 commits intomainfrom
jsops/esm
Aug 24, 2022
Merged

jsops: migrate to ESM from CJM#228
neSpecc merged 3 commits intomainfrom
jsops/esm

Conversation

@neSpecc
Copy link
Copy Markdown
Member

@neSpecc neSpecc commented Aug 22, 2022

Resolves #227

  1. node-fetch updated to 3+ version which does not support the CommonJS projects.
  2. The projects updated to ESM adding the "type": "module" to the package.json
  3. The TypeScript updated to 4.7+ that supports the new "Node16" and "NodeNext" module types.
  4. In the "Node16" TypeScript requires imports containing .js extensions. See the Discussion here

@neSpecc neSpecc merged commit 505daaf into main Aug 24, 2022
@neSpecc neSpecc deleted the jsops/esm branch August 24, 2022 14:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Problems with node-fetch package

2 participants